How To Use Variables With Loops In P5Js